import Pagination from '../utils/class/Pagination';
import { TPaginationProps } from '../utils/class/Pagination';

function usePagination(attrs?: TPaginationProps): Pagination<TPaginationProps> {
  return new Pagination(attrs);
}

export default usePagination;
